package com.aaa.service.impl;

import com.aaa.dao.StudentDao;
import com.aaa.dao.impl.StudentDaoImpl;
import com.aaa.service.StudentService;

import java.util.List;
import java.util.Map;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/7/23 11:21
 * @description：报名业务接口实现
 * @modified By：
 * @version: 1.0
 */
public class StudentServiceImpl implements StudentService {
    StudentDao studentDao = new StudentDaoImpl();
    @Override
    public Map<String, Object> getBusinessInfo(Map map) {
        return studentDao.getBusinessInfo(map);
    }

    @Override
    public boolean addStudent(Map map) {
        return studentDao.addStudent(map);
    }

    @Override
    public List<Map<String, Object>> findAllStudent(Map map) {
        return studentDao.findAllStudent(map);
    }

    @Override
    public int getCount(Map map) {
        return studentDao.getCount(map);
    }
}
